#ifndef CARP_SON_H
#define CARP_SON_H

#include "Base.h"

class Son : public Base {
public:
    Son() {
        std::cout << "struct Son\t" << this << std::endl;
    }
    Son(const Son &son) {
        std::cout << "copy Son\t" << this << std::endl;
    }
    virtual ~Son() {
        std::cout << "destruct Son\t" << this << std::endl;
    }

    void virFunc() override {
        std::cout << "Base Son\t" << std::endl;
    }

    int a;
};

#endif